<script setup>
defineOptions({
  name: "MobileLayout",
});
import Footer from "./Footer/index.vue";
import { useRoute } from "vue-router";
const route = useRoute();

const showFooter = computed(() => {
  return route.meta?.showFooter;
})

</script>

<template>
  <a-layout class="wh-full mobile-layout">
    <a-layout-content>
      <router-view name="default"></router-view>
    </a-layout-content>
    <Footer v-if="showFooter" />
  </a-layout>
</template>
